<?php
namespace Home\Controller;
use Think\Controller;
class SlideController extends HomeController
{
    public function lst()
    {
    	$model = D('Admin/Slide');
    	$data = $model->search();
    	$this->assign(array(
    		'data' => $data['data'],
    		'page' => $data['page'],
    	));

		// 设置页面中的信息
    	$this->display();
    }
}